home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Easy 2010 May
/
Mac Life Ubuntu.iso
/
casper
/
filesystem.squashfs
/
usr
/
lib
/
python2.6
/
dist-packages
/
softwareproperties
/
gtk
/
dialogs.pyc
(
.txt
)
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Python Compiled Bytecode
|
2009-04-20
|
695 b
|
14 lines
# Source Generated with Decompyle++
# File: in.pyc (Python 2.6)
import gtk
def show_error_dialog(parent, primary, secondary):
p = '<span weight="bold" size="larger">%s</span>' % primary
dialog = gtk.MessageDialog(parent, gtk.DIALOG_MODAL, gtk.MESSAGE_ERROR, gtk.BUTTONS_CLOSE, '')
dialog.set_markup(p)
dialog.format_secondary_text(secondary)
dialog.run()
dialog.hide()